package com.legolas.springcloud.springcloudconsumer.client;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author legolas
 * @date 2019/6/5 18:22
 */
@FeignClient(value = "springcloud-provider")
public interface TestClient {

    @RequestMapping(value = "/test1/{name}")
    String test1(@PathVariable("name") String name);

}
